package org.jeecg.modules.engine.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import org.jeecgframework.poi.excel.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 工程表
 * @Author: jeecg-boot
 * @Date:   2020-07-20
 * @Version: V1.0
 */
@Data
@TableName("engineering")
@ApiModel(value="engineering对象", description="工程表")
public class Engineering implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**工程编号*/
    @Excel(name = "工程编号", width = 15)
    @ApiModelProperty(value = "工程编号")
    private String engineCode;
	/**工程名称*/
    @Excel(name = "工程名称", width = 15)
    @ApiModelProperty(value = "工程名称")
    private String engineName;
	/**制作班组id*/
    @Excel(name = "制作班组id", width = 15)
    @ApiModelProperty(value = "制作班组id")
    private String workGroupId;
	/**制作班组*/
    @Excel(name = "制作班组", width = 15)
    @ApiModelProperty(value = "制作班组")
    private String workGroupName;
	/**派工日期*/
    @Excel(name = "派工日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "派工日期")
    private Date dispatchTime;
	/**交付日期*/
    @Excel(name = "交付日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "交付日期")
    private Date payTime;
    /**构件附件路径*/
    @ApiModelProperty(value = "构件附件路径")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String frameAccessory;
    /**需求附件路径*/
    @ApiModelProperty(value = "需求附件路径")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private String requirementAccessory;

	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
